package com.edfu.core.contentmgt.jcr.service.impl;

import javax.jcr.RepositoryException;
import javax.jcr.Session;

public interface IJCRFactory {

	public Session createWebDavSession(String workspaceName)
			throws RepositoryException;
	
	public Session createWebDavSession(String username, String password, String workspaceName) 
		throws RepositoryException;

	public Session createRMISession(String workspaceName)
			throws RepositoryException;
	
	public Session createRMISession(String username, String password, String workspaceName) 
	throws RepositoryException;
	
	public Session createTransientSession(String workspaceName)
	 throws RepositoryException;
	
	public Session createTransientSession(String username, String password, String workspaceName) 
	throws RepositoryException;
	
}
